package com.ciaj.module.sys.entity.vo;

import com.ciaj.module.sys.entity.po.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @Author: Ciaj.
 * @Date: 2018/6/19 17:36
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ShiroUser extends SysUser {
	private static final long serialVersionUID = 2028066224674954121L;

	@ApiModelProperty(value = "当前角色")
	private SysRoleVo roleVo ;

	@ApiModelProperty(value = "当前岗位")
	private SysJobVo jobVo ;

	@ApiModelProperty(value = "岗位列表")
	private List<SysJobVo> jobVos;

	@ApiModelProperty(value = "角色列表")
	private List<SysRoleVo> roleVos;
}
